// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
module.exports = {
  configureWebpack: {
    optimization: {
      minimize: false, // 关闭代码压缩
      concatenateModules: false, // 关闭模块合并
    },
    devtool: 'source-map' // 生成 Source Map（可选）
  },
  // 禁用 CSS 压缩
  css: {
    extract: false,
    loaderOptions: {
      css: { minimize: false },
      postcss: { minimize: false }
    }
  }
}
